﻿using System;

namespace Calculator.ConsoleCalc
{
	public struct Expression
	{
		private Double _first;
		private Double _second;
		private FunctionType _function;

		public double FirstOperand
		{
			get { return _first; }
			set { _first = value; }
		}

		public double SecondOperand
		{
			get { return _second; }
			set { _second = value; }
		}

		public FunctionType Function
		{
			get { return _function; }
			set { _function = value; }
		}

		public Expression(Double first, Double second, FunctionType function)
		{
			_first = first;
			_second = second;
			_function = function;
		}
	}
}